#ifndef _CSWITCH_BUTTON_H_
#define _CSWITCH_BUTTON_H_
#include "CSkipButton.h"
class CSwitchButton :public CSkipButton
{
public:
	explicit CSwitchButton(const QString& name, const QString& iPath,const int &index, const QString& cmdKey);

	void drawElement(QWidget* widget, QPainter* painter, bool bSelected, const QRect& rect) override;
protected:
	virtual void drawStatus(QPainter* painter);
	virtual void drawText(QPainter* painter)override;
protected:
	QString _cmdKey;
	const int _textWidth = 200;
};
#endif // !



